<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Smvc_Controllerclass
 *
 * @author Seph
 */
abstract class Smvc_Controller {

    protected $_request;
    protected $_viewVariables;


    public function __construct($request) {
        $this->_request = $request;
    }

    public function __set($name, $args) {
        $this->_viewVariables[$name] = $args;
    }

    public function __get($name) {
        return $this->_viewVariables[$name];
    }

    public function getViewVariables() {
        return $this->_viewVariables;
    }
    
}
